// Created by Joe on 2017/6/10.

app.value(
    'config',
    {
        test: true,
        mock: false,
        // setting
        silentProcess: false,
        requestDelay: 300,
        animateDelay: 200,
        forbiddenAnimate: false,
        borderMask: 80,
        returnUrl: 'http://192.168.10.150/index.html',
        cacheNS: 'inspur_icity',
        curCity: getCurCity(),
        DataServer: 'http://www.icity24.xyz/icity/asdigit',
        UserServer: 'http://www.icity24.xyz/icity/sdigit',
        // info
        Build: '6',
        Version: '2.4.3',
        deviceToken: serNum || 'LC340315300006431327',
        // position
        HomeEntry: HOME,
        Profile: {
            'login': LOGIN,
            'register': REGISTER,
            'find-password': FIND_PASSWORD,
            'personal-center': PERSONAL_CENTER,
            'change-password': CHANGE_PASSWORD,
            'user-certification': USER_CERTIFICATION
        },
        Weather: {
            'prediction': PREDICTION,
            'warning': WARNING
        },
        SocialSecurity: {
            'home': SOCIAL_HOME,
            'pension': [],
            'medical': SOCIAL_MEDICAL,
            'retirement': [],
            'unemployment': [],
            'mask': SOCIAL_MASK
        },
        AffairQuery: {
            "home": AFFAIR_HOME,
            "mask": AFFAIR_MASK
        },
        HeatingSteward: {
            "home": HEATING_HOME,
            "mask": HEATING_MASK
        },
        DrivingSchool: {
            home: DRIVING_HOME,
            mask: DRIVING_MASK
        },
        Hotline: {
            home: HOTLINE_HOME,
            mask: HOTLINE_MASK
        }
    }
);